package online.inote.modules.demo.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;
import online.inote.common.annotation.GenerateMapper;
import online.inote.common.base.IdEntity;

/**
 * <p>
 * Desc: 测试Demo Model
 * </p>
 *
 * @author Sui
 * @created: 2017年12月9日 下午11:48:38
 * @version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_demo")
@GenerateMapper(isGenerateService = true, sqlSessionFactoryBeanName = "masterSqlSessionFactory", transactionManager = "masterTransactionManager")
public class DemoEntity extends IdEntity {

	private static final long serialVersionUID = -6671403788122042946L;

	private String name;
	private BigDecimal price;
	private Integer number;
	private Date manufactureDate;
}
